package com.multi.thread.chapter02.demo08.test02;

public class MyThreadA extends Thread {
	
	private MyService service;
	private MyObject object;
	
	
	public MyThreadA(MyService service, MyObject object) {
		this.service = service;
		this.object = object;
	}
	
	@Override
	public void run() {
		service.testMethod(object);
	}

}
